# Copyright (c) 2014-2016 by Michael Zahniser
#
# Endless Sky is free software: you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the Free Software
# Foundation, either version 3 of the License, or (at your option) any later version.
#
# Endless Sky is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with
# this program. If not, see <https://www.gnu.org/licenses/>.

# Note: this file contains outfits that are no longer used in the game, but that
# must be maintained in case anyone installed one of them while they were available.

outfit "Korath Tek'far Reactor"
	category "Power"
	cost 1200000
	thumbnail "outfit/unknown"
	"mass" 25
	"outfit space" -25
	"energy generation" 3.9
	"heat generation" 7.3
	description "This is a miniature nuclear reactor, used by the Korath to power their fighters."

outfit "Korath Tek'nel Reactor"
	category "Power"
	cost 14000000
	thumbnail "outfit/unknown"
	"mass" 140
	"outfit space" -140
	"energy generation" 27.1
	"heat generation" 80
	description "This massive reactor was designed by the Korath to meet the power needs of their largest ships."


outfit "Korath Shield Generator"
	category "Systems"
	cost 1700000
	thumbnail "outfit/unknown"
	"mass" 52
	"outfit space" -52
	"shield generation" 2.4
	"shield energy" 2.4
	description "Korath fighters are not able to recharge their shields, but their larger ships are equipped with one of these."

outfit "Korath Heat Shunt"
	category "Systems"
	cost 450000
	thumbnail "outfit/unknown"
	"mass" 34
	"outfit space" -34
	"cooling" 78
	description "Korath weapons generate extreme amounts of heat, and the cooling systems they require are massive."

outfit "Korath Ark'torbal Thruster"
	category "Engines"
	"cost" 40000
	thumbnail "outfit/unknown"
	"mass" 17
	"outfit space" -17
	"engine capacity" -17
	"thrust" 13.35
	"thrusting energy" 1.1
	"thrusting heat" 1.0
	"flare sprite" "effect/plasma flare/tiny"
		"frame rate" 5
	"flare sound" "plasma tiny"
	description "This engine is used by Korath fighters."

outfit "Korath Ark'parat Steering"
	category "Engines"
	"cost" 36000
	thumbnail "outfit/unknown"
	"mass" 12
	"outfit space" -12
	"engine capacity" -12
	"turn" 360
	"turning energy" .6
	"turning heat" .7
	description "This engine is used by Korath fighters."

outfit "Korath Jak'torbal Thruster"
	category "Engines"
	"cost" 317000
	thumbnail "outfit/unknown"
	"mass" 89
	"outfit space" -89
	"engine capacity" -89
	"thrust" 94.65
	"thrusting energy" 5.9
	"thrusting heat" 14.3
	"flare sprite" "effect/plasma flare/large"
		"frame rate" 8
	"flare sound" "plasma large"
	description "This engine is used in the Korath capital ships."

outfit "Korath Jak'parat Steering"
	category "Engines"
	"cost" 2740000
	thumbnail "outfit/unknown"
	"mass" 67
	"outfit space" -67
	"engine capacity" -67
	"turn" 2520
	"turning energy" 3.1
	"turning heat" 7.9
	description "This engine is used in the Korath capital ships."


# Deprecated in favor of the Outfits Expansion, which has a cooling penalty that
# stacks up and limits how many you can install.
outfit "Mass Expansion"
	category "Systems"
	cost 50000
	thumbnail "outfit/blue screwdriver"
	"mass" 5
	"outfit space" 15
	"cargo space" -20
	unplunderable 1
	description "A mass expansion allows you to sacrifice some cargo space in order to make room for more outfits, in situations where you need just a bit more space to install a particular system. It does not increase your weapon or engine space unfortunately."

# Deprecated to give it a less generic name.
outfit "Reverse Thruster"
	category "Engines"
	"cost" 140000
	thumbnail "outfit/reverse thruster"
	"mass" 22
	"outfit space" -22
	"weapon capacity" -22
	"reverse thrust" 28.06
	"reverse thrusting energy" 1.8
	"reverse thrusting heat" 3.5

# Deprecated for 0.9.2 due to long outfit names.
outfit "Bullfrog Anti-Missile Turret"
	category "Turrets"
	cost 55000
	thumbnail "outfit/anti-missile hai"
	"mass" 10
	"outfit space" -10
	"weapon capacity" -10
	"turret mounts" -1
	weapon
		"hit effect" "small anti-missile"
		"anti-missile" 12
		"velocity" 150
		"lifetime" 1
		"reload" 20
		"firing energy" 12
		"firing heat" 5
		"stream"
	description ""

outfit "Chameleon Anti-Missile Turret"
	category "Turrets"
	cost 140000
	thumbnail "outfit/heavy anti-missile hai"
	"mass" 22
	"outfit space" -22
	"weapon capacity" -22
	"turret mounts" -1
	weapon
		"hit effect" "large anti-missile"
		"anti-missile" 16
		"velocity" 200
		"lifetime" 1
		"reload" 15
		"firing energy" 23
		"firing heat" 6
		"stream"
	description ""

# Because of "big explosion" being renamed to "large explosion":
effect "big explosion"
	sprite "effect/explosion/large"
		"no repeat"
		"frame rate" 15
	sound "explosion large"
	"lifetime" 32
	"random angle" 360
	"random frame rate" 5
	"random spin" 4
	"random velocity" .8
	"velocity scale" .4

# Deprecated to clarify their name as being part of the Navy, and not a general purpose license for cruiser type ships.
outfit "Cruiser License"
	category "Special"
	thumbnail "outfit/navy cruiser license"
	description "It is a very rare privilege to be permitted to purchase a Navy capital ship for private use - not just because of a Cruiser's firepower, but because it is a potent symbol of the Republic's strength."

# Deprecated to clarify their name as being part of the Navy, and not a general purpose license for carrier type ships.
outfit "Carrier License"
	category "Special"
	thumbnail "outfit/navy carrier license"
	description "Only a handful of people in the past century have been given permission to purchase a Navy Carrier, even a decommissioned one, for private use."

# Compatibility patch for those who use plug-ins that give all the licenses.
# Each one checks for the presence of one of the two licenses, then replaces it.
mission "Navy Cruiser License Compatibility"
	landing
	invisible
	to offer
		has "license: Cruiser"
	on offer
		set "license: Navy Cruiser"
		fail



mission "Navy Carrier License Compatibility"
	landing
	invisible
	to offer
		has "license: Carrier"
	on offer
		set "license: Navy Carrier"
		fail

outfit "Afterburner"
	category "Engines"
	"cost" 70000
	thumbnail "outfit/afterburner"
	"mass" 10
	"outfit space" -10
	"engine capacity" -10
	"afterburner thrust" 56.25
	"afterburner fuel" .1
	"afterburner heat" 10.0
	"afterburner effect" "afterburner"
	description "An afterburner works by dumping hyperspace fuel into your engines and igniting it, producing a large amount of thrust. This can be very useful for dodging missiles or briefly escaping from faster opponents, but you must be careful to avoid using up so much fuel that you do not have enough left for hyperspace travel."



outfit "Korath Grab-Strike"
	category "Turrets"
	cost 821000
	thumbnail "outfit/grab-strike"
	"mass" 52
	"outfit space" -52
	"weapon capacity" -52
	"energy capacity" 100
	"turret mounts" -1
	"required crew" 1
	weapon
		sprite "projectile/grab-strike"
			"frame rate" 25
			"random start frame"
		"hardpoint sprite" "hardpoint/grab-strike"
		"hardpoint offset" 7.
		sound "grab-strike"
		"hit effect" "grab-strike impact"
		"die effect" "grab-strike impact"
		"inaccuracy" 1
		"turret turn" 1.9
		"velocity" 10
		"lifetime" 100
		"reload" 20
		"firing energy" 60
		"firing heat" 150
		"acceleration" 1
		"drag" .1
		"turn" .2
		"homing" 4
		"tracking" .7
		"shield damage" 108
		"hull damage" 32
		"hit force" -240
	description "Korath Grab-Strike projectiles are designed to pull a target closer to the Korath ship, to keep it from escaping."

outfit "Korath Banisher"
	category "Turrets"
	cost 943000
	thumbnail "outfit/banisher"
	"mass" 41
	"outfit space" -41
	"weapon capacity" -41
	"turret mounts" -1
	"required crew" 1
	weapon
		sprite "projectile/banisher"
			"frame rate" 60
		"hardpoint sprite" "hardpoint/banisher"
		"hardpoint offset" 5.
		sound "banisher"
		"hit effect" "banisher impact"
		"inaccuracy" .4
		"turret turn" 4.2
		"velocity" 590
		"lifetime" 1
		"reload" 1
		"firing energy" 3.3
		"firing heat" 4.9
		"shield damage" 2.8
		"hull damage" .9
		"hit force" 60
	description "The Korath like to keep their enemies close... but not too close."

outfit "Korath Warder"
	category "Turrets"
	cost 845000
	thumbnail "outfit/warder"
	"mass" 28
	"outfit space" -28
	"weapon capacity" -28
	"energy capacity" 50
	"turret mounts" -1
	weapon
		"hardpoint sprite" "hardpoint/warder"
		"hardpoint offset" 3.
		"hit effect" "korath warder"
		"anti-missile" 10
		"velocity" 350
		"lifetime" 1
		"reload" 5
		"firing energy" 24
		"firing heat" 10
	description "This anti-missile system helps defend Korath warships from long-range attacks."

outfit "Korath Fire-Lance"
	category "Guns"
	cost 697000
	thumbnail "outfit/fire-lance"
	"mass" 22
	"outfit space" -22
	"weapon capacity" -22
	"gun ports" -1
	weapon
		sprite "projectile/fire-lance"
			"frame rate" 12
			"random start frame"
		sound "fire-lance"
		"hit effect" "fire-lance impact"
		"inaccuracy" .4
		"velocity" 350
		"lifetime" 1
		"reload" 1
		"firing energy" 2.5
		"firing heat" 1.7
		"shield damage" 3.5
		"hull damage" 1.5
		"heat damage" 12
	description "The Korath Fire-Lance is a medium-range beam weapon designed to be used by their fighters."

outfit "Korath Repeater"
	category "Guns"
	cost 306000
	thumbnail "outfit/repeater"
	"mass" 11
	"outfit space" -11
	"weapon capacity" -11
	"energy capacity" 100
	"gun ports" -1
	weapon
		sprite "projectile/repeater"
			"frame rate" 5
		sound "repeater"
		"hit effect" "repeater impact"
		"inaccuracy" 4
		"velocity" 13
		"lifetime" 40
		"reload" 10
		"burst reload" 4
		"burst count" 3
		"cluster"
		"firing energy" 24
		"firing heat" 108
		"shield damage" 26
		"hull damage" 22
		"heat damage" 33
	description "This is the smallest and simplest Korath projectile weapon, designed mostly for use on fighters and drones. As with most Korath technology, it generates a large amount of heat, enough that the gun must pause briefly after every few shots to cool down."

outfit "Korath Repeater Turret"
	category "Turrets"
	cost 874000
	thumbnail "outfit/repeater turret"
	"mass" 29
	"outfit space" -29
	"weapon capacity" -29
	"energy capacity" 200
	"required crew" 1
	"turret mounts" -1
	weapon
		sprite "projectile/repeater"
			"frame rate" 5
		"hardpoint sprite" "hardpoint/repeater turret"
		"hardpoint offset" 7.
		sound "repeater"
		"hit effect" "repeater impact"
		"inaccuracy" 3
		"turret turn" 2.6
		"velocity" 13
		"lifetime" 40
		"reload" 5
		"burst reload" 2
		"burst count" 6
		"cluster"
		"firing energy" 24
		"firing heat" 108
		"shield damage" 26
		"hull damage" 22
		"heat damage" 33
	description "Korath repeaters fire compact bolts of superheated plasma at their targets. For every one of these turrets installed on a ship, an auxiliary cooling system is typically required to cope with its heat output."

outfit "Korath Piercer"
	category "Ammunition"
	cost 3500
	thumbnail "outfit/piercer"
	"mass" .3
	"piercer capacity" -1
	description "This missile is fired from a Korath Piercer Launcher."

outfit "Korath Piercer Rack"
	category "Ammunition"
	cost 56000
	thumbnail "outfit/korath piercer storage"
	"mass" 2.2
	"outfit space" -7
	"piercer capacity" 16
	ammo "Korath Piercer"
	description "The Korath Piercer Rack is used to store extra ammunition for Korath Piercer Launchers."

outfit "Korath Piercer Launcher"
	category "Secondary Weapons"
	cost 593000
	thumbnail "outfit/piercer launcher"
	"mass" 18
	"outfit space" -27
	"weapon capacity" -27
	"energy capacity" 50
	"gun ports" -1
	"piercer capacity" 31
	weapon
		sprite "projectile/piercer"
			"frame rate" 5
			"random start frame"
		sound "piercer"
		ammo "Korath Piercer"
		icon "icon/piercer"
		"fire effect" "piercer fire"
		"hit effect" "piercer impact"
		"hit effect" "piercer explosion"
		"die effect" "piercer explosion"
		"inaccuracy" 3
		"velocity" 18
		"lifetime" 200
		"reload" 72
		"firing energy" 29
		"firing heat" 144
		"acceleration" .54
		"drag" .03
		"turn" 1.6
		"homing" 4
		"infrared tracking" .9
		"shield damage" 290
		"hull damage" 440
		"piercing" .2
		"hit force" 450
		"missile strength" 73
		"stream"
	description "Korath Piercer Missiles carry a pair of warheads. The first, a smaller one in the very tip of the missile, explodes on impact to blast a hole in the ship's shields to allow some of the subsequent, larger explosion to pierce through."

outfit "Korath Mine"
	category "Ammunition"
	cost 3500
	thumbnail "outfit/korath mine"
	"mass" .7
	"minelayer capacity" -1
	description "This is ammunition for a Korath Minelayer. Each mine splits into eleven submunitions after it is deployed."

outfit "Korath Mine Rack"
	category "Ammunition"
	cost 31500
	thumbnail "outfit/korath mine storage"
	"mass" 2.7
	"outfit space" -9
	"minelayer capacity" 9
	ammo "Korath Mine"
	description "The Korath Mine Rack is used to store extra ammunition for Korath Minelayers."

outfit "Korath Minelayer"
	category "Secondary Weapons"
	cost 1073000
	thumbnail "outfit/korath minelayer"
	"mass" 36
	"outfit space" -48
	"weapon capacity" -48
	"energy capacity" 50
	"gun ports" -1
	"minelayer capacity" 17
	weapon
		sprite "projectile/korath minelayer"
			"frame rate" .6
			"no repeat"
		sound "minelayer"
		ammo "Korath Mine"
		icon "icon/minelayer"
		"fire effect" "minelayer fire"
		"hit effect" "huge explosion"
		"die effect" "minelayer split" 5
		"submunition" "Korath Mine Submunition" 11
		"inaccuracy" 10
		"velocity" 3
		"lifetime" 100
		"reload" 180
		"firing energy" 36
		"firing heat" 36
		"acceleration" .16
		"drag" .04
		"turn" 2
		"homing" 4
		"infrared tracking" .9
		"missile strength" 35
		"shield damage" -3200
		"hull damage" -2400
		"hit force" -225
		"stream"
	description "This launcher fires cluster munitions that split into a cloud of stationary mines that each do a considerable amount of damage if a ship crashes into them. However, if a ship hits the mine before it has a chance to deploy, the damage is considerably reduced."

outfit "Korath Disruptor"
	category "Turrets"
	cost 983000
	thumbnail "outfit/disruptor"
	"mass" 35
	"outfit space" -35
	"weapon capacity" -35
	"turret mounts" -1
	"required crew" 1
	weapon
		sprite "projectile/disruptor"
			"frame rate" 15
		"hardpoint sprite" "hardpoint/disruptor"
		"hardpoint offset" 15.
		sound "disruptor"
		"hit effect" "disruptor impact"
		"inaccuracy" 1
		"turret turn" 1.5
		"velocity" 480
		"lifetime" 1
		"reload" 1
		"firing energy" 8.0
		"firing heat" 2.7
		"shield damage" 3.8
		"hull damage" .5
		"disruption damage" .24
	description "Korath Disruptors interfere with a ship's shields, allowing a ship's hull to be damaged even when shields are up. However, they do very little hull damage by themselves."

outfit "Korath Slicer"
	category "Guns"
	cost 832000
	thumbnail "outfit/slicer"
	"mass" 46
	"outfit space" -46
	"weapon capacity" -46
	"gun ports" -1
	weapon
		sprite "projectile/slicer"
			"frame rate" 6
		sound "slicer"
		"hit effect" "slicer impact"
		"inaccuracy" 0
		"velocity" 520
		"lifetime" 1
		"reload" 1.62
		"burst reload" 1
		"burst count" 17
		"firing energy" 5.6
		"firing heat" 17.8
		"shield damage" 6.3
		"hull damage" 16.7
	description "This massive beam weapon is relatively ineffective against shields, but cuts through hull armor like it's made of paper."

outfit "Korath Slicer Turret"
	category "Turrets"
	cost 1473000
	thumbnail "outfit/slicer turret"
	"mass" 59
	"outfit space" -59
	"weapon capacity" -59
	"turret mounts" -1
	"required crew" 1
	weapon
		sprite "projectile/slicer"
			"frame rate" 6
		"hardpoint sprite" "hardpoint/slicer turret"
		"hardpoint offset" 17.
		sound "slicer"
		"hit effect" "slicer impact"
		"inaccuracy" 0
		"turret turn" 2.9
		"velocity" 520
		"lifetime" 1
		"reload" 1.62
		"burst reload" 1
		"burst count" 17
		"firing energy" 5.6
		"firing heat" 17.8
		"shield damage" 6.3
		"hull damage" 16.7
	description "This turret fires a tightly focused energy beam that is particularly effective against hull armor. When paired with a disruptor turret, it is a deadly combination."

outfit "Korath Repeater Rifle"
	category "Hand to Hand"
	cost 53000
	thumbnail "outfit/korath rifle"
	"capture attack" 1.6
	"capture defense" 2.4
	"unplunderable" 1
	description "This rifle is commonplace among the Korath, predating the creation of the Repeater by at least two centuries. As it uses superheated plasma instead of lasers, the rifle is slow to fire and can sometimes burn its user's hands if they aren't careful. It makes up for these setbacks by guaranteeing that those hit won't live long enough to fire back."
